﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WaterRevenueMS.Componnent.Common;
using WaterRevenueMS.Domain.ViewModels.Authen.User;
using WaterRevenueMS.Componnent.Entities.Authen;

namespace WaterRevenueMS.Core.Service.Authen
{
    public interface IUserService
    {
        IQueryable<User> Users { get; }

        OperationResult Insert(UserModel model);

        OperationResult Update(User model);

        OperationResult Update(UpdateUserModel model);

        OperationResult Update(ChangePwdModel model);

        OperationResult Delete(UserModel model);
    }
}
